import request from '@/libs/http/index';

export function uploadApi(data) {
  return request({
    url: '/attachement/file',
    method: 'POST',
    data,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  });
}
